﻿<%@ Page Title="" Language="vb" AutoEventWireup="false" MasterPageFile="~/Site.Master" CodeBehind="AddNewRestaurant.aspx.vb" Inherits="LondonItalianRestaurants.AddNewRestaurant" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
<h1>Add Your New Restaurant</h1>
   
    <table border="1" width="100%" class="table">
  <tr>
    <th class="th">Details</th>
    <th class="th">Data</th>
  </tr>
  <tr>
    <td>Restaurant Name</td>
    <td><asp:TextBox ID="tb_RestaurantName" runat="server"></asp:TextBox><asp:RequiredFieldValidator
            ID="RequiredFieldValidator1" runat="server" ErrorMessage="Enter Restaurant Name" ControlToValidate="tb_RestaurantName" ForeColor="red"></asp:RequiredFieldValidator> </td>
  </tr>
  <tr>
    <td>Restaurant Address</td>
    <td><asp:TextBox ID="tb_RestaurantAddress" runat="server"></asp:TextBox><asp:RequiredFieldValidator
            ID="RequiredFieldValidator2" runat="server" ErrorMessage="Enter Restaurant Address" ControlToValidate="tb_RestaurantAddress" ForeColor="red"></asp:RequiredFieldValidator></td>
  </tr>
  <tr>
    <td>Restaurant Postcode</td>
    <td><asp:TextBox ID="tb_postcode" runat="server"></asp:TextBox><asp:RequiredFieldValidator
            ID="RequiredFieldValidator3" runat="server" ErrorMessage="Enter Restaurant Postcode" ControlToValidate="tb_postcode" ForeColor="red"></asp:RequiredFieldValidator></td>
  </tr>
  <tr>
    <td>Restaurant Website</td>
    <td><asp:TextBox ID="tb_website" runat="server"></asp:TextBox><asp:RequiredFieldValidator
            ID="RequiredFieldValidator4" runat="server" ErrorMessage="Enter Web Address" ControlToValidate="tb_website" ForeColor="red"></asp:RequiredFieldValidator></td>
  </tr>
  <tr>
    <td>RestaurantPicture</td>
    <td><asp:FileUpload ID="fup_RestaurantPicture" runat="server" /><asp:RequiredFieldValidator
            ID="RequiredFieldValidator5" runat="server" ErrorMessage="Upload picture for list" ControlToValidate="fup_RestaurantPicture" ForeColor="red"></asp:RequiredFieldValidator></td>
  </tr>
  <tr>
    <td>RestaurantPicture2</td>
    <td><asp:FileUpload ID="fup_RestaurantPicture2" runat="server" /><asp:RequiredFieldValidator
            ID="RequiredFieldValidator9" runat="server" ErrorMessage="Upload picture for detail" ControlToValidate="fup_RestaurantPicture2" ForeColor="red"></asp:RequiredFieldValidator></td>
  </tr>
  <tr>
    <td>Menu</td>
    <td><asp:FileUpload ID="FileUpload1" runat="server" /><asp:RequiredFieldValidator
            ID="RequiredFieldValidator10" runat="server" ErrorMessage="Upload a MENU" ControlToValidate="FileUpload1" ForeColor="red"></asp:RequiredFieldValidator></td>
  </tr>
  <tr>
    <td>Average Price</td>
    <td><asp:TextBox ID="tb_AveragePrice" runat="server"></asp:TextBox><asp:RequiredFieldValidator
            ID="RequiredFieldValidator6" runat="server" ErrorMessage="Enter Average Price" ControlToValidate="tb_AveragePrice" ForeColor="red"></asp:RequiredFieldValidator></td>
  </tr>
  <tr>
    <td>Phone Number</td>
    <td><asp:TextBox ID="tb_PhoneNumber" runat="server"></asp:TextBox><asp:RequiredFieldValidator
            ID="RequiredFieldValidator7" runat="server" ErrorMessage="Enter Phone Number" ControlToValidate="tb_PhoneNumber" ForeColor="red"></asp:RequiredFieldValidator></td>
  </tr>
  <tr>
    <td>Michelin Stars</td>
    <td><asp:RadioButtonList ID="rbl_MichelinStars" runat="server" 
        RepeatDirection="Horizontal">
        <asp:ListItem>1</asp:ListItem>
        <asp:ListItem>2</asp:ListItem>
        <asp:ListItem>3</asp:ListItem>
        <asp:ListItem>4</asp:ListItem>
        <asp:ListItem>5</asp:ListItem>
    </asp:RadioButtonList><asp:RequiredFieldValidator
            ID="RequiredFieldValidator8" runat="server" ErrorMessage="Select stars" ControlToValidate="rbl_MichelinStars" ForeColor="red"></asp:RequiredFieldValidator></td>
  </tr>
  <tr>
    <td colspan="2"><asp:Button ID="btn_Submit" runat="server" Text="Add New Restaurant" 
        Width="179px" /></td>
   
  </tr>

  
</table>

 
</asp:Content>
 
 